:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --border-radius-base: 3px;
}

* {
  margin: 0;
  padding: 0;
}

/* 覆盖 Ant Design Vue 的圆角样式 */
.ant-btn {
  border-radius: var(--border-radius-base) !important;
}

.ant-card {
  border-radius: var(--border-radius-base) !important;
}

.ant-card-cover {
  border-top-left-radius: var(--border-radius-base) !important;
  border-top-right-radius: var(--border-radius-base) !important;
}

.ant-input,
.ant-input-search,
.ant-select-selector,
.ant-modal-content,
.ant-popover-content,
.ant-menu {
  border-radius: var(--border-radius-base) !important;
}

.ant-input-group-addon:first-child {
  border-top-left-radius: var(--border-radius-base) !important;
  border-bottom-left-radius: var(--border-radius-base) !important;
}

.ant-input-group-addon:last-child {
  border-top-right-radius: var(--border-radius-base) !important;
  border-bottom-right-radius: var(--border-radius-base) !important;
}
